﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VsxFactory.Modeling.StrategyManager
{
    public interface IProgressWindowOpener
    {
        void Show(string title);
        void Hide();
        bool IsOpen { get; }
        bool Close();
        void SetCompleted(bool successful);
        void AddMessage(LogMessageLevel level, string message);
        void ShowProgress(string operation, int percentComplete);
    }

    public enum LogMessageLevel
    {
        Info = (int)MessageLevel.Info,
        Warning = (int)MessageLevel.Warning,
        Debug = (int)MessageLevel.Debug,
        Error
    }

    public enum MessageLevel
    {
        Info,
        Warning,
        Debug
    }
}
